<template>
  <div class="dropdown">
    <slot />
    <!-- {{ node }} -->
    <div class="dropdown-panel"><slot name="panel" /></div>
  </div>
</template>

<script setup>
// import {slot} from 'vue'
// const node = slot()
</script>

<style scoped lang="scss">
.dropdown{
  position: absolute;
  top: dpi(10rem);
  width: 100%;
  height: 100%;
  background: #fff;
}
</style>